package com.rayo.accesscontrollercopy.model.db.dao;


import com.rayo.accesscontrollercopy.model.db.bean.SiteData;

import java.util.List;

/**
 * Created by yanghaojie on 16/7/27.
 */
public interface SiteDao {
    List<SiteData> findAll();

    List<SiteData> findBySite(String site);

    SiteData findFirst();

    SiteData findBySiteAndId(String site, int lockid);

    void addSite(SiteData siteData);

    void updateSite(SiteData siteData);

    void deleteSite(SiteData siteData);
}
